package com.zyd.shiro.business.service;

import com.github.pagehelper.PageInfo;
import com.zyd.shiro.business.entity.Purchase;
import com.zyd.shiro.framework.object.BaseConditionVO;
import com.zyd.shiro.framework.object.AbstractService;
import com.zyd.shiro.persistence.beans.PakPurchase;

import java.util.Map;

public interface PakPurchaseService extends AbstractService<Purchase, Long> {

    /**
     * 分页查询
     *
     * @param vo
     * @return
     */
    PageInfo<Purchase> findPageBreakByCondition(BaseConditionVO vo);


      void increase(PakPurchase pakPurchase);

      Purchase mapConvObject(Map<String, String> map);
}